﻿<vt:template file="header.html"></vt:template>
<vt:set var="filter1" value="feedback" format="formname='{0}'" />
<vt:function var="curform" method="GetData" data="viewFormParas" type="show" filter="$filter1"
    px="px desc" />
<div class="content">
    <div class="site">
        当前位置：<a href="index.html">网站首页</a>&nbsp;&gt;&gt;&nbsp;<a href="about.html">关于我们</a></div>
    <div class="main">
        <div class="left">
            <div class="lefttop">
                <div class="title1">
                    公司简介</div>
            </div>
            <div class="mainbar">
                <link rel="stylesheet" type="text/css" href="/style/themes/default/easyui.css" />
                <link href="/style/themes/icon.css" rel="stylesheet" type="text/css" />

                <script type="text/javascript">
                    $(document).ready(function()
                    {
                        $("#btnSubmit").click(function()
                        {
                            $("#frm1").form({
                                url: "/ashx/postop.ashx?ac=autofrm&formid=8",
                                onSubmit: function()
                                {
                                    return $(this).form('validate');
                                    // do some check
                                    // return false to prevent submit;
                                },
                                success: function(data)
                                {
                                    alert("发布成功！");
                                    location.href = location.href;
                                }
                            });

                        });
                    });
                </script>

             
                <!--表单开始部分-->
                <div class="article">
                    <div class="h2">
                        {$:curform.rows.0.fcname}</div>
                    <form id="frm1" method="post">
                    <ol>
                        <vt:foreach from="$curform" item="item" index="i">
                     <li>
                        <label for="{$:item.columnname}">
                            {$:item.cname}</label>
                            {$:item.htmlstr}
                    </li>
                    </vt:foreach>
                        <li>
                            <input type="image" name="imageField" id="btnSubmit" src="images/submit.gif" class="send" />
                            <div class="clr">
                            </div>
                        </li>
                    </ol>
                    </form>
                </div>
                <!--表单结束部分-->
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
<vt:set id="fid" var="fid" value="0" output="false" />
<vt:template file="footer.html"></vt:template>
